import socket

s = socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
s.bind(('',34564))

while True:
	data,addr = s.recvfrom(1024)
	print 'data:',data, 'addr:',addr